//
//  BookRecoder.h
//  ReadJapanese
//
//  Created by 병철 김 on 11. 8. 11..
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import <AudioToolbox/AudioToolbox.h>

@interface BookRecoder : NSObject<AVAudioSessionDelegate> {
    AVAudioRecorder *recorder;
	AVAudioPlayer *audioPlayer;
}

- (void) recordBook:(NSNumber*) bookId sentence:(NSNumber*) sentenceId;
- (void) stopRecord;
- (void) playRecordBook:(NSNumber*)book sentence:(NSNumber*) sentence;
@end
